// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import App from "./App";
import router from "./router";
// import ElementUI from 'element-ui' //new
// import 'element-ui/lib/theme-chalk/index.css' //new
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import axios from "axios";
import echarts from "echarts";
import VueContextMenu from "vue-contextmenu";
import SlideVerify from "vue-monoplasty-slide-verify";
Vue.use(VueContextMenu);
Vue.use(SlideVerify);
Vue.prototype.$echarts = echarts;
Vue.prototype.$axios = axios;
// 默认超时设置
axios.defaults.timeout = 50000;
Vue.config.productionTip = false;
Vue.use(ElementUI);
/* eslint-disable no-new */
new Vue({
  el: "#app",
  router,
  components: { App },
  template: "<App/>"
});
